//请求列表
const commoneUrl = "https://shanfu.51fnt.com";
let getRequest = function(url,params){
	return promise = new Promise((resolve,reject) => {
			uni.request({
				url:commoneUrl + url,
				method:"GET",
				data:params
				
			}).then((res)=>{
				resolve(res)
			}).catch((err)=>{
				reject(err)
			})
	})

}
module.exports = {
	getRequest
}